package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author min
 * @since 2022-07-28
 */
@Data
public class Dict implements Serializable {

    private static final long serialVersionUID = 1L;

    
    private Long id;

    private Integer num;

    private Integer lastNum;

    private String name;

    /**
     * 别名
     */
    private String otherName;

    private Integer type;

    private String remark;

    private Integer sort;

    private Integer status;

    private Integer count;

    private Integer tag;

    private BigDecimal money;

    @TableField(exist = false)
    private Integer isCurrent;

    @TableLogic
    private Integer deleted;
}
